/**********************************************************
 * Languages.java.java
 *
 * Created by punam
 * Last modified Date: Sep 9, 2008 1:35:17 PM by punam
 * Revision: <svn revision #>
 * Version : 0.1
 * Copyright (c) 2008 - 2009 cyberThink Infotech Pvt. Ltd., All rights reserved.
 **********************************************************/

package com.printeverywhere.dto;

import com.printeverywhere.util.AdminConstants;

/**
 * TranslationSystem entity.
 *
 * @author MyEclipse Persistence Tools
 */

public class Languages implements java.io.Serializable {

	// Fields
	/** The old language code. */
	private String oldLanguageCode;

	/** The language code. */
	private String languageCode;

	/** The language name. */
	private String languageName;

	/** The active. */
	private Boolean active;

	/** The default_. */
	private Boolean default_;
	private String text = "LTR";

	private String chromeCss = "chromestyle.css";

	private Integer count;

	private ThemeManager themeId = new ThemeManager(AdminConstants.ONE_NUMBER);

	// Constructors

	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}

	/**
	 * @param text the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}

	/**
	 * default constructor.
	 */
	public Languages() { }

	/**
	 * full constructor.
	 *
	 * @param languageCode the language code
	 * @param languageName the language name
	 * @param active the active
	 * @param default_ the default_
	 */
	public Languages(String languageCode, String languageName,
			Boolean active, Boolean default_) {
		this.languageCode = languageCode;
		this.languageName = languageName;
		this.active = active;
		this.default_ = default_;
	}

	// Property accessors

	/**
	 * Gets the language code.
	 *
	 * @return the language code
	 */
	public String getLanguageCode() {
		return this.languageCode;
	}

	/**
	 * Sets the language code.
	 *
	 * @param languageCode the new language code
	 */
	public void setLanguageCode(String languageCode) {
		this.languageCode = languageCode;
	}

	/**
	 * Gets the language name.
	 *
	 * @return the language name
	 */
	public String getLanguageName() {
		return this.languageName;
	}

	/**
	 * Sets the language name.
	 *
	 * @param languageName the new language name
	 */
	public void setLanguageName(String languageName) {
		this.languageName = languageName;
	}

	/**
	 * Gets the active.
	 *
	 * @return the active
	 */
	public Boolean getActive() {
		return this.active;
	}

	/**
	 * Sets the active.
	 *
	 * @param active the new active
	 */
	public void setActive(Boolean active) {
		this.active = active;
	}

	/**
	 * Gets the default_.
	 *
	 * @return the default_
	 */
	public Boolean getDefault_() {
		return this.default_;
	}

	/**
	 * Sets the default_.
	 *
	 * @param default_ the new default_
	 */
	public void setDefault_(Boolean default_) {
		this.default_ = default_;
	}

	/**
	 * Gets the old language code.
	 *
	 * @return the old language code
	 */
	public String getOldLanguageCode() {
		return oldLanguageCode;
	}

	/**
	 * Sets the old language code.
	 *
	 * @param oldLanguageCode the new old language code
	 */
	public void setOldLanguageCode(String oldLanguageCode) {
		this.oldLanguageCode = oldLanguageCode;
	}

	/**
	 * @return the chromeCss
	 */
	public String getChromeCss() {
		return chromeCss;
	}

	/**
	 * @param chromeCss the chromeCss to set
	 */
	public void setChromeCss(String chromeCss) {
		this.chromeCss = chromeCss;
	}

	public ThemeManager getThemeId() {
		return themeId;
	}

	public void setThemeId(ThemeManager themeId) {
		this.themeId = themeId;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}
}